from django.db import models

# Create your models here.
# from __future__ import unicode_literals
from django.db import models

class Book(models.Model):
    book_name = models.CharField(max_length=64)
    add_time = models.DateTimeField(auto_now_add=True)

    def __unicode__(self):
        return self.book_name

class loginUser(models.Model):
    name = models.CharField(max_length=10)
    password = models.CharField(max_length=10)

    def __str__(self):
        return self.name


